home *** CD-ROM | disk | FTP | other *** search
- /* STEERPIKE's WATER WRAITH (c) 1994
-
- ATTRIBUTE THIS PLEASE!!!
-
- */
-
- #include "colors.inc"
- #include "textures.inc"
- #include "shapes.inc"
- #include "shapes2.inc"
- //#include "camlight.inc"
- //#include "plant.inc"
- #include "plant1.inc"
- //#include "plant2.inc"
- #include "sword.inc"
- #include "helmet.inc"
- #include "guard.inc"
- //object {BrightLight1 scale <1, 1, 1> translate <-100, 190, -100>}
- //object {Light1 scale <1, 1, 1> translate <60, 30, -100>}
- //Just two lights
- object{light_source{<-100,190,-100> color rgb<2.4,2.2,2.4>}}
- object{light_source{<-100,190,-100> color rgb<.85,.8,.8>}}
-
- //These are the two red eyes. They were going to glow, hence inclusion with
- // the lightsources
-
- sphere{<0,0,0>.02 pigment{color Red}finish{ambient .5}
- translate<.52,2,1.25>}
- sphere{<0,0,0>.02 pigment{color Red}finish{ambient .5}
- translate<.64,2.02,1.25>}
-
- camera {Camera1 translate<0,0,-2.5>rotate <0,25,0> translate <0, .5, 0>}
-
-
- //fog {color rgb<.3,.28,.3> distance 200} Include if you like. I didn't.
-
- // Now come all the textures. Enjoy
- #declare Algae= texture{
- pigment{
- marble
- color_map{
- [0.1 color green .8 blue .7]
- [0.5 color green .45 blue .45]
- [0.6 color green .5 blue .55]
- [0.8 color red .1 green .6 blue .55]}
- turbulence .9
- octaves 3
- omega .3
- }
- finish{
- specular .7 roughness .005
- diffuse .2
- brilliance 1.5
- }
- }
-
- // Green plantlike flesh with red veins in
-
- #declare Veins1= texture{
- pigment{ marble color_map{
- [0.1 color DarkGreen]
- [0.2 color red .5 green .1 blue .2]
- [0.3 color red .5 green .1 blue .05]
- [0.37 color DarkGreen]}
- turbulence .75
- octaves 3
- omega .65
- }
- finish {diffuse .5 specular.2 roughness .01 brilliance 1}
- normal {wrinkles .7 turbulence .3 scale<.6,.6,.6>}
- scale <.2,.2,.2>}
-
-
-
- #declare Bark1= texture {pigment{color rgb<.56 .56 .4>}
- normal {wrinkles .6 scale .15}
- finish {crand .05}
- scale <1,5,1>}
-
-
- #declare Mist=texture{
- pigment{
- marble
- color_map{
- [0.0 color Clear]
- [0.35 color Clear]
- [0.5 color rgbf<.75,.75,.75,.6>]
- [0.65 color Clear]
- }
- turbulence .9
- octaves 5
- omega .3
- }}
-
-
- #declare NightSky=texture{
- pigment{
- bozo
- color_map{
- [0.0 color rgb<.3,.3,.3>]
- [0.3 color rgb<0,0,.2>]
- [0.6 color rgb<.1,.1,.15>]
- [0.65 color rgb<.2,.23,.23>]
- [0.8 color rgb<.05,.05,0>]
- }
- turbulence 1
- octaves 2
- omega .1
- }scale<.3,.3,.3>}
-
- #declare Liquid =
- texture
- {pigment{color rgb<.7,.75,.8> filter 0.99}
- normal
- {ripples 0.75
- frequency 15
- // phase (clock*3)*.01
- turbulence .1
- }
- finish
- {reflection 0.3
- refraction 1
- ior 1.33
- }
- }
-
-
- #declare Liquid3 =
- texture
- {pigment{color rgb<.9,.9,1> filter 0.99}
- // normal
- // {wrinkles 0.5
- // turbulence .31 // After much deliberation decided against.
- // scale <.15,.15,.15>}
- finish
- {reflection 0.1
- refraction 1
- ior 1.135
- }
- }
-
-
-
- #declare Liquid1 =
- texture
- {pigment{color rgb<.8,.8,.7> filter 1}
- normal
- {ripples 0.95
- frequency 20
- phase (clock*3)*.01
- turbulence .4
- }
- finish
- {reflection 0.3
- refraction 1
- ior 1.33
- }
- }
-
-
-
- #declare Rok=texture{
- pigment{
- onion
- color_map{
- [0.0 color rgb<.4,.6,.3>]
- [0.3 color rgb<.6,.6,.6>]
- [0.5 color rgb<.6,.6,.6>]
- [0.6 color rgb<.45,.3,.6>]
- [0.75 color rgb<.3,.5,.2>]
- [0.9 color rgb<.7,.87,.7>]
- [0.99 color rgb<.6,.8,.6>]
- }
- turbulence 1
- octaves 4
- lambda 2
- omega .5}
- finish {Shiny}
- }
- #declare Rok1=texture{
- pigment{
- marble
- color_map{
- [0.0 color rgbf<1,1,1,1>]
- [0.45 color rgbf<1,1,1,1>]
- [0.55 color rgbf<.4,.4,.5,.25>]
- [0.7 color rgbf<.2,.2,.8,.3>]
- [0.9 color rgbf<.5,.2,.4,.4>]
- }
- turbulence .5
- octaves 2
- omega 2
- }
- }
-
-
-
- //plane{z,4 texture{Rok} texture{Rok1}} NB mapping texture rok onto this
- //plane gave me the .tga for the heightfield.
- // This is the heightfield for the rocks in the bog
-
- #declare Marsh=object{height_field{tga "Rok.tga" smooth water_level .3}
- texture{pigment{image_map{gif "slime.gif"}}
- finish{diffuse .6 specular.4 roughness .01}
- scale<.1,.1,.1>
- rotate <0,45,0>}
- translate<-.5,-.5,-.5>
- scale<40,2,20>
- }
-
- //This is the Heightfield for the hills in the background. If you don't
- //Have plasma3.gif, it shoul be in the POV=ray include files
-
- #declare Hills=object{height_field{gif "plasma3.gif" }
- texture{pigment{color rgb<0,.08,.08>}
- finish{specular 0 diffuse 1 roughness .6 }}
- translate<-.5,-.5,-.5>
- rotate y*90
- rotate x*-20
- scale<70,20,20>
- translate<0,-3.5,40>
- rotate y*30}
-
-
-
- object{Hills}
-
- object{Marsh}
- object{Marsh translate<40,0,0>}
- //object{Marsh translate<-40,0,0>}
- object{Marsh translate<0,0,20>}
- object{Marsh translate<40,0,20>} //I want more than one copy of the marsh rocks
- //object{Marsh translate<-40,0,20>} //since the field of view is so big.
- //object{Marsh translate<0,0,-20>}
- //object{Marsh translate<40,0,-20>}
- //object{Marsh translate<-40,0,-20>}
-
- object{Marsh translate<80,0,0>}
- //object{Marsh translate<-80,0,0>}
- object{Marsh translate<0,0,40>}
- object{Marsh translate<80,0,40>}
- //object{Marsh translate<-80,0,40>}
- //object{Marsh translate<0,0,-40>}
- //object{Marsh translate<80,0,-40>}
- //object{Marsh translate<-80,0,-40>}
-
- //This plane is the brown mud of the marsh
- plane{y,-.23 pigment{color rgb<.3,.3,.15>}}
- //This is the inch or so of water on the ground
- plane{y,-.17 texture{Liquid}}
- //YE OLDE SKYE SPHERE
- object{Sphere texture{NightSky} scale <250,250,250>}
- //The MIST
- plane{y,.1 texture{Mist scale<1,1,2> rotate y*4}}
-
- //The Wraith. THANKS AGAIN TO BLOB10a
- object{Wraith scale<.8,.8,.8> translate<0,.8,1.5> rotate <0,25,0>
- texture{Liquid3}
- /* pigment{color Red} finish{Shiny}
- normal
- {wrinkles 0.5 //Just for test purposes...
- turbulence .1
- scale <.1,.1,.1>}
-
- } */
- }
-
- //The helmet and sword, of course...
-
- object{Sword rotate<0,0,-82>scale<.08,.08,.08>translate<.17,1.42,1.1> rotate y*25}
- object{Helmet scale<.19,.19,.19>translate<0,2,1.35> rotate y*25}
-
- // Plants, last of all
-
- //#declare Algae=texture{pigment{color Red}}
-
- object{plant1 texture{Veins1} scale<.05,.25,.05> rotate<10,60,0>
- translate<1.7,-0.2,2> rotate y*25}
-
- object{plant1 texture{Algae} scale<.055,.25,.05> rotate<40,-10,10>
- translate<-1,-0.2,1.7> rotate y*25}
- object{plant1 texture{Algae} scale<.05,.05,.059> rotate<45,110,13>
- translate<-.6,-0.2,.7> rotate y*25}
-
-
-